﻿using System.Windows;

namespace BluEtch.GotPhone.Helpers
{
    public static class Message
    {
        /// <summary>
        /// Uses System.Windows.MessageBox.Show to display a message the user. Using this
        /// method will ensure message is displayed on the UI thread.
        /// </summary>
        /// <param name="Message">Message to be displayed</param>
        public static void Show(string message)
        {
            Threading.InvokeUI(() => MessageBox.Show(message));
        }
    }
}
